package com.xmy.cultivate.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xmy.cultivate.entity.AuthAllotTeacher;
import com.xmy.cultivate.mapper.AuthAllotTeacherMapper;
import com.xmy.cultivate.service.IAuthAllotTeacherService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 教师权限表 服务实现类
 * </p>
 *
 * @author hpiggy
 * @since 2025-05-10
 */
@Service
public class AuthAllotTeacherServiceImpl extends ServiceImpl<AuthAllotTeacherMapper, AuthAllotTeacher> implements IAuthAllotTeacherService {
    @Autowired
    AuthAllotTeacherMapper authAllotTeacherMapper;


    @Override
    public IPage<AuthAllotTeacher> getAuthAllotTeacherList(IPage<AuthAllotTeacher> page, @Param("adminId") Long adminId, String teacherName) {
        return authAllotTeacherMapper.getAuthAllotTeacherList(page,adminId, teacherName);
    }

}
